{% extends "base.html" %}

{% block title %}Most-bookmarked snippets{% endblock %}

{% block content_header %}Most-bookmarked snippets{% endblock %}

{% block main_content %}
<ul>
{% for snippet in object_list %}
<li><a href="{{ snippet.get_absolute_url }}">{{ snippet.title }}</a> (<a href="{{ snippet.language.get_absolute_url }}">{{ snippet.language.name }}</a>) by <a href="/users/{{ snippet.author.username }}/">{{ snippet.author.username }}</a></li>
{% endfor %}
</ul>
{% endblock %}

{% block sidebar %}
<p>You're looking at the most-bookmarked snippets on the site; {% if user.is_authenticated %}you can help useful snippets show up here by clicking the "bookmark this snippet" link on their pages and ading them to <a href="/bookmarks/">your bookmarks</a>{% else %}if you'd like to help useful snippets show up here, <a href="/accounts/register/">sign up for an account</a> and you'll get your own bookmarks list{% endif %}.</p>
{% endblock %}